-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.3.5 (latest)
-
Code
-
Classes
- CDNController
| Total Complexity |
104 |
| Dependencies |
5 |
| Dependents |
3 |
| Total lines |
831 |
| Lines of code |
497 |
| Logical lines of code |
302 |
| Comment lines |
107 |
| Methods |
28 |
| Properties |
5 |
Methods 28
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createArguments() |
A |
46 |
16 |
35 |
| processScript() |
A |
43 |
12 |
50 |
| processFront() |
A |
42 |
8 |
58 |
| purgeCDN() |
A |
48 |
7 |
32 |
| extractImageMatches() |
S |
49 |
6 |
32 |
| loadCDNDomain() |
S |
52 |
6 |
27 |
| createReplacements() |
S |
52 |
4 |
24 |
| pregReplaceContent() |
S |
53 |
4 |
22 |
| filterFonts() |
S |
55 |
4 |
20 |
| getPurgeURL() |
S |
55 |
4 |
19 |
| registerDomain() |
S |
51 |
3 |
28 |
| flushItem() |
S |
53 |
3 |
23 |
| checkScheme() |
S |
64 |
4 |
9 |
| checkDomain() |
S |
59 |
3 |
14 |
| addWPHooks() |
S |
64 |
3 |
9 |
| fetchInlineBackground() |
S |
62 |
2 |
12 |
| validateCDNDomain() |
S |
65 |
2 |
11 |
| __construct() |
S |
66 |
2 |
9 |
| init() |
S |
59 |
1 |
15 |
| checkContent() |
S |
65 |
2 |
10 |
| encodeForJSON() |
S |
73 |
1 |
5 |
| fetchImageMatches() |
S |
72 |
1 |
5 |
| fetchDocumentMatches() |
S |
91 |
1 |
2 |
| stringReplaceContent() |
S |
72 |
1 |
5 |
| pregReplaceByString() |
S |
66 |
1 |
8 |
| checkJson() |
S |
76 |
1 |
4 |
| listenFlush() |
S |
74 |
1 |
4 |
| getURLBase() |
S |
72 |
1 |
5 |